﻿using Hehq.Core.AppsImpl.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hehq.Sys.Apps.Dict.Dtos;
using Hehq.Sys.Apps.Dict;
using Hehq.Sys.Apps.Dict.Dtos.FormParams;

namespace Hehq.Tenant.WebApi.Dict
{

    [PerModule(200,"租户字典分类管理")]
    public class DictClassifyAppService:AbsWebApp<IDictClassifyApp>,IWebApi
    {
        public List<ClassifyInfo> GetList()
        {
            var list = this.App.GetItems();   
            return list; 
        }


        public OneDictClassifyParam Create(ClassifyCreateForm param)
        {
            var rest = this.App.Create(param);
            return rest;
        }
    }

}
